package com.example.videorecs1;

import android.app.Application;

import com.orhanobut.logger.AndroidLogAdapter;
import com.orhanobut.logger.FormatStrategy;
import com.orhanobut.logger.Logger;
import com.orhanobut.logger.PrettyFormatStrategy;

public class VideoRecApp extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        FormatStrategy formatStrategy = PrettyFormatStrategy.newBuilder().showThreadInfo(false).methodCount(0).methodOffset(7).tag("Ffmpeg-vrec").build();
        Logger.addLogAdapter(new AndroidLogAdapter(formatStrategy) {
            public boolean isLoggable(int priority, String tag) {
                return true;
            }
        });
    }
}
